<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>hahaha</h1>
<h2>为什么直接访问项目名就能访问到首页 http://localhost:8080/</h2>
<span>
        <ul>
            <li>SpringBoot规定，只要在templates下面有个名字叫index.html的页面</li>
            <li>SpringBoot访问项目根路径就会访问到这个页面</li>
        </ul>
    </span>

<div id="fragment" th:fragment="myfooter">
    &copy; 2011 The Good Thymes Virtual Grocery
</div>
</body>
</html>